package com.ruoyi.zhhq.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 会议室对象 zhhq_room
 * 
 * @author zsl
 * @date 2022-10-30
 */
public class Room extends BaseEntity
{
    private static final long serialVersionUID = 1L;
    
    private Building building;
    public Building getBuilding() {
		return building;
	}

	public void setBuilding(Building building) {
		this.building = building;
	}

	/** 会议室id */
    private String roomId;

    /** 会议室名称 */
    @Excel(name = "会议室名称")
    private String roomName;

    /** 楼id */
    @Excel(name = "楼id")
    private String buildingId;

    /** 会议室大小 */
    @Excel(name = "会议室大小")
    private Long size;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    public void setRoomId(String roomId) 
    {
        this.roomId = roomId;
    }

    public String getRoomId() 
    {
        return roomId;
    }
    public void setRoomName(String roomName) 
    {
        this.roomName = roomName;
    }

    public String getRoomName() 
    {
        return roomName;
    }
    public void setBuildingId(String buildingId) 
    {
        this.buildingId = buildingId;
    }

    public String getBuildingId() 
    {
        return buildingId;
    }
    public void setSize(Long size) 
    {
        this.size = size;
    }

    public Long getSize() 
    {
        return size;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

	@Override
	public String toString() {
		return "Room [building=" + building + ", roomId=" + roomId + ", roomName=" + roomName + ", buildingId="
				+ buildingId + ", size=" + size + ", status=" + status + "]";
	}


}
